package com.ruoyi.smart.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品测试数据对象 smart_mod_data
 *
 * @author ruoyi
 * @date 2022-12-04
 */
public class SmartModData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 电流电压 */
    @Excel(name = "电流电压")
    private String data;

    /** ModStr */
    @Excel(name = "ModStr")
    private String modStr;

    /** ModList */
    @Excel(name = "ModList")
    private String modList;

    /** 产品id */
    @Excel(name = "产品id")
    private String productId;

    /** 数据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeIn;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setData(String data)
    {
        this.data = data;
    }

    public String getData()
    {
        return data;
    }
    public void setModStr(String modStr)
    {
        this.modStr = modStr;
    }

    public String getModStr()
    {
        return modStr;
    }
    public void setModList(String modList)
    {
        this.modList = modList;
    }

    public String getModList()
    {
        return modList;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setTimeIn(Date timeIn)
    {
        this.timeIn = timeIn;
    }

    public Date getTimeIn()
    {
        return timeIn;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("type", getType())
                .append("data", getData())
                .append("modStr", getModStr())
                .append("modList", getModList())
                .append("productId", getProductId())
                .append("timeIn", getTimeIn())
                .append("state", getState())
                .toString();
    }
}
